package com.tsk.base.result;

import lombok.Getter;
import lombok.ToString;

/**
 * @author: 黄嘉振
 * @create: 2023/4/20 9:44
 * @description:    统一响应的开关实体，在项目启动时通过runner赋值
 **/
@Getter
@ToString
public class ResultSwitch {
    private boolean enable;

    private String basePath;

    public ResultSwitch(boolean enable, String basePath) {
        this.enable = enable;
        this.basePath = basePath;
    }
}
